package game.ui.controls
{
	import flash.text.*;
	import game.actor.*;
	import game.ui.core.*;
	
	public class RxHeroStatsPanel extends RxUIElement
	{
		private var m_attackStatLabel:RxTextLabel;
		private var m_armorStatLabel:RxTextLabel;
		private var m_levelLabel:RxTextLabel;
		
		public function RxHeroStatsPanel()
		{
			this.CreateChildren();
		}
		
		private function CreateChildren() : void
		{
			this.m_attackStatLabel = RxTextLabel.CreateWithStyle(RxFontStyleConstants.BODY_MEDIUM_BOLD, 5325617);
			this.m_attackStatLabel.SetIconUrl("ui/icons/icon_attackrating2_sm_dark.png");
			addChild(this.m_attackStatLabel);
			this.m_armorStatLabel = RxTextLabel.CreateWithStyle(RxFontStyleConstants.BODY_MEDIUM_BOLD, 5325617);
			this.m_armorStatLabel.SetIconUrl("ui/icons/icon_armorrating_sm_dark.png");
			addChild(this.m_armorStatLabel);
			this.m_levelLabel = RxTextLabel.CreateWithStyle(RxFontStyleConstants.BODY_LARGE_BOLD, 5325617, TextFormatAlign.CENTER);
			addChild(this.m_levelLabel);
		}
	}
}